package com.jiangyg.mall.ware.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 类描述：采购信息
 * 
 * @author jiangyg
 * @email email@jiangyg.com
 * @date 2021-10-18 22:33:27
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode
@TableName("mw_purchase")
public class Purchase implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId(type = IdType.ASSIGN_ID)
	@TableField("id")
	private Long id;

	/**
	 * 分配人员ID
	 */
	@TableField("assignee_id")
	private Long assigneeId;

	/**
	 * 分配人员名称
	 */
	@TableField("assignee_name")
	private String assigneeName;

	/**
	 * 联系电话
	 */
	@TableField("phone")
	private String phone;

	/**
	 * 优先级
	 */
	@TableField("priority")
	private Integer priority;

	/**
	 * 状态
	 */
	@TableField("status")
	private Integer status;

	/**
	 * 仓库ID
	 */
	@TableField("ware_id")
	private Long wareId;

	/**
	 * 总金额
	 */
	@TableField("amount")
	private BigDecimal amount;

	/**
	 * 创建时间
	 */
	@TableField("create_time")
	private Date createTime;

	/**
	 * 更新时间
	 */
	@TableField("update_time")
	private Date updateTime;

}
